package com.onepower.core.modules.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.onepower.core.modules.repository.entity.MatchPlace;
import com.onepower.core.modules.repository.mapper.MatchPlaceMapper;
import com.onepower.core.modules.service.IMatchPlaceService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 比赛场地表 服务实现类
 * </p>
 *
 * @author kin
 * @since 2018-08-06
 */
@Service
public class MatchPlaceServiceImpl extends ServiceImpl<MatchPlaceMapper, MatchPlace> implements IMatchPlaceService {

    public List<MatchPlace> getListByMatchId(Integer matchId){
        return  baseMapper.selectByMatchId(matchId);
    }
}
